package com.ossjk.qlh.supplier.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Copyright  2022-01-10 QLH. Tech Ltd. All rights reserved.
 * 
 * @Package: com.ossjk.qlh.supplier.entity
 * @ClassName: Supplier
 * @Description: -实体类
 * @author: DengJing
 * @date:  2022-01-10 09:54:42 
 */
@ApiModel(value = "")
@Data
public class Supplier extends BaseEntity<Supplier> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id", required = true)
	@TableId("id")
	private String id;
	/**
	 * 供应商名称
	 */
	@ApiModelProperty(value = "供应商名称", required = true)
	@TableField("name")
	private String name;
	/**
	 * 地区
	 */
	@ApiModelProperty(value = "地区", required = true)
	@TableField("region")
	private String region;
	/**
	 * 主要业务
	 */
	@ApiModelProperty(value = "主要业务", required = true)
	@TableField("business")
	private String business;
	/**
	 * 客户评级
	 */
	@ApiModelProperty(value = "客户评级")
	@TableField("evaluate")
	private Integer evaluate;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@TableField("remarks")
	private String remarks;
	/**
	 * 负责人
	 */
	@ApiModelProperty(value = "负责人", required = true)
	@TableField("charge_person")
	private String chargePerson;
	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话", required = true)
	@TableField("phone_number")
	private String phoneNumber;
	 
	 
	 
	@Override
	protected Serializable pkVal() {
				return id;
	}
 

	 
}
